<%@ page pageEncoding="UTF-8"%>

<%@ taglib uri="/tags/struts-tiles" prefix="tiles"%>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%@ taglib uri="/tags/struts-nested" prefix="nested"%>
<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/tags/trymore" prefix="tm"%>

<script>
	
</script>

<div class="pageContent">
	<form method="post" action="app/flow/def/confer.do?action=actionSaveFlowConfer" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);" id="formTemplate">
		<div class="pageFormContent" layoutH="56">
			<table cellspacing="10" cellpadding="10" class="dform">
				<tr>
					<td>预审环节名称：</td>
					<td><input name="nodeTitle" type="text" size="30" value="${entity ne null ? entity.nodeTitle : ''}" class="required" style="width: 88%" /></td>
				</tr>
				<tr>
					<td style="vertical-align: top;">预审环节描述：</td>
					<td>
						<textarea rows="2" cols="40" name="nodeDesc" class="textInput" style="width: 88%">${entity ne null ? entity.nodeDesc : ''}</textarea>
					</td>
				</tr>
				<tr>
					<td>环节审批角色：</td>
					<td>
						<select class="combox required" name="toAuditRoleId" id="dialog_auditRole">
							<option value="">请选择一个角色</option>
							<logic:present name="allRoles">
								<logic:iterate name="allRoles" id="role">
									<option value="${role.id}" ${entity ne null && entity.toAuditRole ne null && entity.toAuditRole.id eq role.id ? 'selected' : ''}>${role.roleName}</option>
								</logic:iterate>
							</logic:present>
						</select>
					</td>
				</tr>
			</table>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div>
				</li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
		<input type="hidden" name="id" value="${entity ne null ? entity.id : '-1'}" />
	</form>
<div>